<template>
  <el-dialog custom-class="wrapper-login" :show-close="false" center v-model="isShow" @close="handleClose" @open="handleOpen">
    <Login
      ref="login" 
      title="前端图床"
    />
  </el-dialog>
</template>

<script lang="ts">
import {
  defineComponent,
} from 'vue';

import Login from './Login.vue';

export default defineComponent({
  name: 'WrapperLogin',
  components: {
    Login
  },
//   props: {
    
//   },
  data() {
      return {
          isShow: false
      }
  },
  methods: {
      handleClose() {
          this.isShow = false;
      },
      handleOpen() {
          this.isShow = true;
      }
  }
})
</script>

<style lang="scss">
.wrapper-login {

}
</style>